home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
tlxjwpc5.zip
/
TIMEX.SLT
< prev
next >
Wrap
Text File
|
1990-09-21
|
2KB
|
42 lines
//╔═════════════════════════════════════════════════════════════════════╗
//║ RBBS 17.3A JW-PC Consulting DataFlex.HST (608)837-1923 ║
//║ Dual Std HST/V.32/MNP5/V.42 RBBSnet 8:972/2 FIDOnet 1:121/8 ║
//╚═════════════════════════════════════════════════════════════════════╝
//File created on 12-28-1989 08:06:15
//
// Original by: Randy Risher Additional prompting and screen handling
// by: Jim Wargula
//
// Timed execution script for Telix 3.1x. Calls another script at spec. time.
// Both Time and Called Script Filename are prompted for. jim wargula
main()
{
str s[16];
str r[16];
str n[8];
_time_format=1; //24hr format
clear_scr();
pstraxy("Enter 24 hr start time XX:XX:XX and Press Enter",15,5,23);
getsxy(r,8,15,7,23);
pstraxy("Enter script filename to execute and Press Enter",15,10,23);
getsxy(n,8,15,12,23);
clear_scr();
printsc("Script start-up time is ");
prints(r);
printsc("Script name to start is ");
prints(n);
prints();
prints("Press any key to begin...");
while(1) //Loop until time
{
time(curtime(), s); // Tracks Time
if (s == r)
{
break; //Break out when times equal
}
} //Loop until time
printsc("Executed script at ");
prints(s);
calld(n); //Script name to execute
}